cmake_minimum_required(VERSION 3.0)

project(rtp_server_main)

include_directories(./)
include_directories(./../)
include_directories(./../../loop_event/)

set(src_list ./main.cpp)

set(loop_event_list ./)
aux_source_directory(./../../loop_event loop_event_list)

set(rtp_parser_file ./../rtp_parser/rtp_frame.cpp ./../rtp_parser/rtp_parser.cpp)

add_executable(rtp_server_main ${src_list} ${loop_event_list} ./../../../util/byte_process.cpp ./../../../util/amf.cpp ${rtp_parser_file})

target_link_libraries(rtp_server_main -lz)






